home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Texty / crackme / SiFLyiNG-gPsCrackme2.txt < prev    next >
Encoding:
Text File  |  1999-08-11  |  3.4 KB  |  130 lines

  1.  
  2.         What's needed to keygen gPs Crackme 2
  3.                 by SiFLyiNG
  4.  
  5.  
  6.         Sorry i haven't got time to write a tut, but i'll just explain the
  7. calculation routine of the crackme.
  8.  
  9. Protection   : VB5 crackme based on a Name/Vorname/Code protection.
  10. Tools to use : Smartcheck + SoftIce
  11.  
  12.         Here is the algo of the keygen :
  13.  
  14. X1 = lenght(Name) * 3 * lenght(vorname) * 5 * 5 * 6 / 6
  15.    = lenght(name) * lenght(vorname) * 75
  16. X2 = lenght(vorname) * 13
  17. X3 = lenght(name) * 12
  18. X4 = 123 (this never vary, X4 is also a constant)
  19. X5 = len(name) * len(vorname)
  20.  
  21.         then the crackme append all the parts together
  22.  
  23. and the temporary serial become : X1X2X3X4X5
  24.  
  25. Then this temporary serial is multiplied with a 'magic' value. This value
  26. depends on the first char of the name. Here is the table of these value (in
  27. hexadecimal) :
  28.  
  29. a       A       17
  30. b       B       EA
  31. c       C       07
  32. d       D       1D       
  33. e       E       2C
  34. f       F       0C
  35. g       G       3F
  36. h       H       16
  37. i       I       1A
  38. j       J       1F
  39. k       K       0D
  40. l       L       60
  41. m       M       4A
  42. n       N       2F
  43. o       O       49
  44. p       P       20
  45. q       Q       47
  46. r       R       11
  47. s       S       52
  48. t       T       1C
  49. u       U       62
  50. v       V       59
  51. w       W       36
  52. x       X       2D
  53. y       Y       49
  54. z       Z       22
  55.  
  56. and     Σ 2D
  57.         ⁿ 33
  58.         ÷ 0E
  59.  
  60. for all the others chars this value will be 0. So if the name begin with '-'
  61. or '=' you won't have to calculate because X1X2X3X4X5 * 0 = 0 and the code
  62. will be 0 !!!
  63.  
  64.         I hope this is understandable. Let's try with an example :
  65.  
  66. Name    : 'SiFLyiNG'
  67. Vorname : 'Crackme_Cracked'
  68.  
  69. X1 = lenght(Name) * 3 * lenght(vorname) * 5 * 5 * 6 / 6
  70.    = lenght(SiFLyiNG) * lenght(Crackme_cracked) * 75
  71.    = 8 *  15 * 75 = 9000
  72.  
  73. X2 = lenght(vorname) * 13
  74.    = lenght(Crackme_cracked) * 13 = 15 * 13 = 195
  75.  
  76. X3 = lenght(name) * 12
  77.    = lenght(SiFLyiNG) * 12
  78.    = 8 * 12 = 96
  79.  
  80. X4 = 123 (this never vary, X4 is also a constant)
  81.  
  82. X5 = len(name) * len(vorname)
  83.    = len(SiFLyiNG) * len(Crackme_cracked)
  84.    = 8 * 15 = 120
  85.  
  86.  
  87. So the temporary serial is :
  88.         X1X2X3X4X5 = 900019596123120
  89.  
  90. and let's look for the magic value in the table. We see:
  91.  
  92. s       S       52h = 82
  93.  
  94. So the code will be :
  95.  
  96.       900019596123120 * 82 = 7.38016068820958E+16
  97.  
  98. yes it should be written like that !!! that's because it's a VB proggy...
  99.  
  100.         But we could try another example, more simple :)
  101.  
  102. Name    : -=CrackeR=-
  103. VorName : Toto
  104.  
  105.         and without any calculation, we get :
  106. Code : 0
  107.  
  108. you understand why, i hope... if not remember the table of the magic values
  109. here the name begins with '-' so the magic value is 0 because '-' doesn't
  110. appear in the table...
  111.  
  112.  
  113.         That's all folks. I hope this was enough to understand the serial
  114. calculation. If there is a problem, just mail me, i'll answer.
  115.         You can now make your own keygen. I've included mine with these
  116. explanations with some source in VB. I wanted to try in winasm but i'm not
  117. good enough...
  118.                              
  119.         SiFLyiNG
  120.                 siflying@ifrance.com
  121.  
  122. PS : could someone send me some Win32asm sources or tutorials please ?
  123. NB :this crackme might not be obvious to code in win32asm :
  124. remember the serial we had got :  7.38016068820958E+16. That's because
  125. it's a VB crackme, but this is not really interested to code, i think, in win32asm.
  126.  
  127.  
  128.  
  129.        
  130.